package me.keiwu.admin.util;

import lombok.Data;

import java.util.List;

/**
 * Created by chenqiuyu on 2017/12/5.
 */
@Data
public class MyPage {
    private int size;
    private int page;
    private List list;
    private int totalPage;// 总页数

    public void init(int totalPage, int page, int size){
        this.page =  page;//第几页
        this.totalPage = totalPage;
        this.size = size;//每页个数
    }
}
